#ifndef __LM_KEYEVENT_H__
#define __LM_KEYEVENT_H__

#include <stdlib.h>
#include <time.h>
#include <stdio.h>

typedef enum lm_keyboard_value
{
    KEYBOARD_INVALID = 0,
    KEYBOARD_UP = 272,
    KEYBOARD_DOWN = 280,
    KEYBOARD_LEFT = 275,
    KEYBOARD_RIGHT = 277,
    KEYBOARD_ENTER = 13,
    KEYBOARD_ESC = 27,
    KEYBOARD_BACKSP = 8,
    KEYBOARD_F1 = 59,
    KEYBOARD_F2 = 60,
    KEYBOARD_F3 = 61,
    KEYBOARD_F4 = 62,
    KEYBOARD_F5 = 63,
    KEYBOARD_F6 = 64,
    KEYBOARD_F7 = 65,
    KEYBOARD_F8 = 66,
    KEYBOARD_F9 = 67,
    KEYBOARD_F10 = 68,
    KEYBOARD_F11 = 69,
    KEYBOARD_F12 = 70,
    KEYBOARD_KEY_y = 121,
    KEYBOARD_KEY_Y = 89,
    KEYBOARD_KEY_n = 110,
    KEYBOARD_KEY_N = 78,
    KEYBOARD_KEY_m = 109,
    KEYBOARD_KEY_M = 77,
    KEYBOARD_KEY_h = 104,
    KEYBOARD_KEY_H = 72,

}lm_keyboard_value_e;


#ifdef __cplusplus
extern "C" {
#endif

lm_keyboard_value_e lm_get_kb_value(void);


#ifdef __cplusplus
} /*extern "C"*/
#endif

#endif // !__LM_KEYEVENT_H__

